package com.gitee.mars.vaccin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gitee.mars.vaccin.entity.SysRoleMenu;
import com.gitee.mars.vaccin.response.base.BasePageRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 持久层
 *
 * @Author wq
 * @Date 2020-12-15
 **/
@Mapper
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {

    IPage<SysRoleMenu> findByQuery(IPage<SysRoleMenu> page, @Param("query") BasePageRequest query);

}
